<% remote_form_for :message, :url => {:action => 'send_message'}, :update => "messages", :html => {:class => "send_message_form"} do |f| %>
	<h4>Send message:</h4>
	<%= f.text_area :message, :class=> "send_msg", :onkeypress => "return onEnter(event, this.form)" %>
	<%= submit_tag 'Send', :id => 'commit' %>
<% end %>